package ro.isdc.vms.party.domain;


/**
 * An electronic contact address, including: telephone numbers, fax numbers, 
 * E-mails etc. A contact electronic address might not be linked to a person.
 * 
 * @author Andrei Chirila
 */
public class ElectronicAddress extends ContactAddress {

	/**
	 * Generated Serial Version UID
	 */
	private static final long serialVersionUID = -8318098984095768827L;

	/**
	 * Electronic address type: e.g. Telephone, Fax, Email.
	 */
	private ElectronicAddressType electronicAddressType;

	/**
	 * The complete address text.
	 */
	private String address;

	/**
	 * @return the electronicAddressType
	 */
	public ElectronicAddressType getElectronicAddressType() {
		return electronicAddressType;
	}

	/**
	 * @param electronicAddressType
	 *            the electronicAddressType to set
	 */
	public void setElectronicAddressType(
			ElectronicAddressType electronicAddressType) {
		this.electronicAddressType = electronicAddressType;
	}

	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address
	 *            the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
}
